<?php
    //header ("Location: ".find_in_path('logs/sales_sources.txt'));
    header("Content-Type: text/csv");
    header('Content-disposition: attachment; filename=' . basename(find_in_path('alohacart_logs/orders.csv')));
    echo file_get_contents(find_in_path('alohacart_logs/orders.csv'));
    exit;
?>